package top.zhangjianyong.tools.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import top.zhangjianyong.tools.entity.marirui.JJETFHQ;
import top.zhangjianyong.tools.utils.DateTimeUtil;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.LocalTime;

/**
 * @author ： zhangjianyong
 * @date ： 2022/11/28 9:19 AM
 */
@Data
@TableName("etf")
public class ETF extends BaseEntity {

    private String code; //代码
    private String name;
    private LocalDateTime valueDate;//日期
    private BigDecimal value;//单位净值
    private BigDecimal totalValue;//累计净值
    private BigDecimal dailyRate;//日增长率

    private Integer updateFlag;//更新标记
    private Integer holdFlag;//持有标记

    @TableField(value = "down_3_rate")
    private BigDecimal dwon3Rate;//3日下跌率

    public ETF() {
    }

}
